using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Daemon.Model
{
    /// <summary>
    /// 床位信息
    /// </summary>
    [Keyless]
    [Table("IM_BEDINFO")]
    public partial class BedInfo
    {
        [Key]
        [Column("BEDNO")]
        public string BedNo { get; set; }

        [Key]
        [Column("DEPTID")]
        public int DeptId { get; set; }

        [Column("ROOMNO")]
        public string RoomNo { get; set; }

        [Column("ABSTRACT")]
        public string Abstract { get; set; }

        [Column("PRICE")]
        public decimal Price { get; set; }

        [Column("ATTRIBUTE")]
        public int Attribute { get; set; }

        [Column("LMTIME")]
        public DateTime LMTime { get; set; }

        [Column("LMODIFIER")]
        public int LModifier { get; set; }

        [Column("ORGANID")]
        public int OrganizeId { get; set; }
    }
}